package com.multi.thread.chapter02.demo02;

public class ThreadB extends Thread {

	private SychronizedMethodLockObject object;

	public ThreadB(SychronizedMethodLockObject object) {
		super();
		this.object = object;
	}
	
	@Override
	public void run() {
		super.run();
		object.methodB();
	}

}
